//游戏数据，用于网络收发信息
//用法：构建游戏数据
var gameDataEngine = {
	//type = 0 : broadcast message
	//type = 1 : manipulate's directions
	//type = 2 : judge's processes and directions
	CreateGameData : function(roomId, userId, type, step, message, direction, process){
		return {
			id : -1,
			roomId : roomId,
			userId : userId,
			time : newDate(),
			type : type,
			param : JSON.stringify({
						step : step,
						message : message,
						direction : direction,
						process : process
					})
		};
	}
};